package net.wanho.zx.zx_cms.service;

import net.wanho.zx.pojo.cms.CmsTemplate;
import net.wanho.zx.zx_cms.dao.CmsTemplateDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author： Depeng.Xu
 * @date： 2020/10/27 10:48
 * @description： TODO
 * @version: 1.0
 */
@Service
public class CmsTemplateService {

    @Autowired
    private CmsTemplateDao cmsTemplateDao;
    public List<CmsTemplate> queryCmsTemplateList() {
        return cmsTemplateDao.findAll();
    }
}
